/*
 * RegisterForm.java
 *
 * Created on 19 June 2006, 15:34
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.eit.ntc.lmsbackend.struts.form;


import com.eit.toschoolonline.lms.jdo.DocumentItemM;
import com.eit.toschoolonline.lms.jdo.EntranceItemM;
import com.eit.toschoolonline.lms.jdo.LearningItemM;
import com.eit.toschoolonline.lms.jdo.LessonM;
import com.eit.toschoolonline.lms.jdo.SubjectM;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.apache.struts.upload.FormFile;





/**
 *
 * @author Owner
 */
public class LMSForm implements Serializable{
    
    /** Creates a new instance of RegisterForm */
    public LMSForm() {
    }
   
   private String errorMode;
   private String editMode;
   private String selectIndex;
   private String[] chkBox;

   //subject
   private String selectSubject;
   private SubjectM subjectM;
   private String inputID;
   private String subjectCode;
   private String subjectName;
   private List subjectList = new ArrayList();
   
  
   //Lesson
   private String selectLesson;
   private LessonM lessonM;
   private String lessonName;
   private String lessonCode;
   private String lessonCredit;
   private String lessonDescription;
   private List lessonList = new ArrayList();
  
   //item
    private String selectType;
    private String activeSelect;
    private List itemList = new ArrayList();
    private int itemType;
    private LearningItemM itemM;
    private String itemName;
    private String itemKeyword;
    private String itemDescription;
    private String itemFileName;

    private List catalogList = new ArrayList();
    private String[] catalogCodes;
    private List selectCatalogList = new ArrayList();

    private String statusItem;
    private String commentItem;

    private String itemNameFilter;
    private String[] statusFilter =  {LearningItemM.ENABLE_STATUS};
    private String searchStatus;
    private String[] chkCatalog;
    private boolean catalogFlag;
   
    
    //Doc
    private List edocList = new ArrayList();
    private String docName;
    private String docOwner;
    private String docType;
    private FormFile docFile;
    private DocumentItemM documentItemM;
    private String docFilename;

    // MetaData
    private String indexMeta;
    private String keyword;
    private String value;
    private String metaMode;
    private String saved;
    private List metaList = new ArrayList();
    private List masterList = new ArrayList();

    public String getDocFilename() {
        return docFilename;
    }

    public void setDocFilename(String docFilename) {
        this.docFilename = docFilename;
    }
     
   
    //ENDoc
    private List entranceList = new ArrayList();
    private String enName;
    private String enOwner;
    private FormFile enFile;
    private EntranceItemM entranceItemM;
    private String selectYear; 
     private String selectNumber;
     private String enFileName;
     private String enDocType;

     private String enFileType;
     private String enType;

    public String getEnFileType() {
        return enFileType;
    }

    public void setEnFileType(String enFileType) {
        this.enFileType = enFileType;
    }

    public String getEnDocType() {
        return enDocType;
    }

    public void setEnDocType(String enDocType) {
        this.enDocType = enDocType;
    }

     private List yearLabelList = new ArrayList();

    public List getYearLabelList() {
        return yearLabelList;
    }

    public void setYearLabelList(List yearLabelList) {
        this.yearLabelList = yearLabelList;
    }

    // private boolean zipfile;
//
//    public boolean isZipfile() {
//        return zipfile;
//    }
//
//    public void setZipfile(boolean zipfile) {
//        this.zipfile = zipfile;
//    }

     // zip
     private List zipItem = new ArrayList();
//     private List sumZipItem = new ArrayList();
//
//    public List getSumZipItem() {
//        return sumZipItem;
//    }
//
//    public void setSumZipItem(List sumZipItem) {
//        this.sumZipItem = sumZipItem;
//    }

    public List getZipItem() {
        return zipItem;
    }

    public void setZipItem(List zipItem) {
        this.zipItem = zipItem;
    }

    public String getEnFileName() {
        return enFileName;
    }

    public void setEnFileName(String enFileName) {
        this.enFileName = enFileName;
    }
    
    
    public String getErrorMode() {
        return errorMode;
    }

    public void setErrorMode(String errorMode) {
        this.errorMode = errorMode;
    }

    public String getEditMode() {
        return editMode;
    }

    public void setEditMode(String editMode) {
        this.editMode = editMode;
    }

    public String getSelectIndex() {
        return selectIndex;
    }

    public void setSelectIndex(String selectIndex) {
        this.selectIndex = selectIndex;
    }

    public String[] getChkBox() {
        return chkBox;
    }

    public void setChkBox(String[] chkBox) {
        this.chkBox = chkBox;
    }

    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getLessonCredit() {
        return lessonCredit;
    }

    public void setLessonCredit(String lessonCredit) {
        this.lessonCredit = lessonCredit;
    }

    public String getLessonDescription() {
        return lessonDescription;
    }

    public void setLessonDescription(String lessonDescription) {
        this.lessonDescription = lessonDescription;
    }

    public List getSubjectList() {
        return subjectList;
    }

    public void setSubjectList(List subjectList) {
        this.subjectList = subjectList;
    }

    public SubjectM getSubjectM() {
        return subjectM;
    }

    public void setSubjectM(SubjectM subjectM) {
        this.subjectM = subjectM;
    }

    public String getInputID() {
        return inputID;
    }

    public void setInputID(String inputID) {
        this.inputID = inputID;
    }

    public LessonM getLessonM() {
        return lessonM;
    }

    public void setLessonM(LessonM lessonM) {
        this.lessonM = lessonM;
    }

    public String getSelectSubject() {
        return selectSubject;
    }

    public void setSelectSubject(String selectSubject) {
        this.selectSubject = selectSubject;
    }

    public List getLessonList() {
        return lessonList;
    }

    public void setLessonList(List lessonList) {
        this.lessonList = lessonList;
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

   

    public List getItemList() {
        return itemList;
    }

    public void setItemList(List itemList) {
        this.itemList = itemList;
    }

    public String getActiveSelect() {
        return activeSelect;
    }

    public void setActiveSelect(String activeSelect) {
        this.activeSelect = activeSelect;
    }

    public LearningItemM getItemM() {
        return itemM;
    }

    public void setItemM(LearningItemM itemM) {
        this.itemM = itemM;
    }

    public String getSelectType() {
        return selectType;
    }

    public void setSelectType(String selectType) {
        this.selectType = selectType;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemKeyword() {
        return itemKeyword;
    }

    public void setItemKeyword(String itemKeyword) {
        this.itemKeyword = itemKeyword;
    }

    public String getItemDescription() {
        return itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }

    public String getSelectLesson() {
        return selectLesson;
    }

    public void setSelectLesson(String selectLesson) {
        this.selectLesson = selectLesson;
    }

    public String getLessonCode() {
        return lessonCode;
    }

    public void setLessonCode(String lessonCode) {
        this.lessonCode = lessonCode;
    }

    public String getDocName() {
        return docName;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public String getDocOwner() {
        return docOwner;
    }

    public void setDocOwner(String docOwner) {
        this.docOwner = docOwner;
    }

    public String getDocType() {
        return docType;
    }

    public void setDocType(String docType) {
        this.docType = docType;
    }

    public FormFile getDocFile() {
        return docFile;
    }

    public void setDocFile(FormFile docFile) {
        this.docFile = docFile;
    }

    public List getEdocList() {
        return edocList;
    }

    public void setEdocList(List edocList) {
        this.edocList = edocList;
    }

    public DocumentItemM getDocumentItemM() {
        return documentItemM;
    }

    public void setDocumentItemM(DocumentItemM documentItemM) {
        this.documentItemM = documentItemM;
    }

    public String getSelectYear() {
        return selectYear;
    }

    public void setSelectYear(String selectYear) {
        this.selectYear = selectYear;
    }

    public List getEntranceList() {
        return entranceList;
    }

    public void setEntranceList(List entranceList) {
        this.entranceList = entranceList;
    }

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public String getEnOwner() {
        return enOwner;
    }

    public void setEnOwner(String enOwner) {
        this.enOwner = enOwner;
    }

    public FormFile getEnFile() {
        return enFile;
    }

    public void setEnFile(FormFile enFile) {
        this.enFile = enFile;
    }

    public EntranceItemM getEntranceItemM() {
        return entranceItemM;
    }

    public void setEntranceItemM(EntranceItemM entranceItemM) {
        this.entranceItemM = entranceItemM;
    }

    public String getSelectNumber() {
        return selectNumber;
    }

    public void setSelectNumber(String selectNumber) {
        this.selectNumber = selectNumber;
    }

    public String getEnType() {
        return enType;
    }

    public void setEnType(String enType) {
        this.enType = enType;
    }

    /**
     * @return the itemFileName
     */
    public String getItemFileName() {
        return itemFileName;
    }

    /**
     * @param itemFileName the itemFileName to set
     */
    public void setItemFileName(String itemFileName) {
        this.itemFileName = itemFileName;
    }

    public String getIndexMeta() {
        return indexMeta;
    }

    public void setIndexMeta(String indexMeta) {
        this.indexMeta = indexMeta;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getMetaMode() {
        return metaMode;
    }

    public void setMetaMode(String metaMode) {
        this.metaMode = metaMode;
    }

    public String getSaved() {
        return saved;
    }

    public void setSaved(String saved) {
        this.saved = saved;
    }

    public List getMetaList() {
        return metaList;
    }

    public void setMetaList(List metaList) {
        this.metaList = metaList;
    }

    public List getMasterList() {
        return masterList;
    }

    public void setMasterList(List masterList) {
        this.masterList = masterList;
    }

    /**
     * @return the catalogList
     */
    public List getCatalogList() {
        return catalogList;
    }

    /**
     * @param catalogList the catalogList to set
     */
    public void setCatalogList(List catalogList) {
        this.catalogList = catalogList;
    }

    /**
     * @return the catalogCodes
     */
    public String[] getCatalogCodes() {
        return catalogCodes;
    }

    /**
     * @param catalogCodes the catalogCodes to set
     */
    public void setCatalogCodes(String[] catalogCodes) {
        this.catalogCodes = catalogCodes;
    }

    /**
     * @return the statusItem
     */
    public String getStatusItem() {
        return statusItem;
    }

    /**
     * @param statusItem the statusItem to set
     */
    public void setStatusItem(String statusItem) {
        this.statusItem = statusItem;
    }

    /**
     * @return the commentItem
     */
    public String getCommentItem() {
        return commentItem;
    }

    /**
     * @param commentItem the commentItem to set
     */
    public void setCommentItem(String commentItem) {
        this.commentItem = commentItem;
    }

    /**
     * @return the itemNameFilter
     */
    public String getItemNameFilter() {
        return itemNameFilter;
    }

    /**
     * @param itemNameFilter the itemNameFilter to set
     */
    public void setItemNameFilter(String itemNameFilter) {
        this.itemNameFilter = itemNameFilter;
    }

    /**
     * @return the statusFilter
     */
    public String[] getStatusFilter() {
        return statusFilter;
    }

    /**
     * @param statusFilter the statusFilter to set
     */
    public void setStatusFilter(String[] statusFilter) {
        this.statusFilter = statusFilter;
    }

    public String getSearchStatus() {
        return searchStatus;
    }

    public void setSearchStatus(String searchStatus) {
        this.searchStatus = searchStatus;
    }

    public String[] getChkCatalog() {
        return chkCatalog;
    }

    public void setChkCatalog(String[] chkCatalog) {
        this.chkCatalog = chkCatalog;
    }

    public boolean isCatalogFlag() {
        return catalogFlag;
    }

    public void setCatalogFlag(boolean catalogFlag) {
        this.catalogFlag = catalogFlag;
    }

    /**
     * @return the selectCatalogList
     */
    public List getSelectCatalogList() {
        return selectCatalogList;
    }

    /**
     * @param selectCatalogList the selectCatalogList to set
     */
    public void setSelectCatalogList(List selectCatalogList) {
        this.selectCatalogList = selectCatalogList;
    }
}
